﻿@model RonYee.Models.ImgNews

@{
    ViewBag.Title = "编辑";
    Layout = "~/Views/Shared/_LayoutOfSecondPage.cshtml";
}

@using (Html.BeginForm())
{
        @Html.ValidationSummary(true)
        @Html.HiddenFor(model => model.ImgNewsId)
        @Html.HiddenFor(model => model.Editor)
        @Html.HiddenFor(model => model.ImgName)
        @Html.HiddenFor(model => model.DelUrl)
        @Html.HiddenFor(model => model.AddTime)
        <div class="box_padding">
            <h3><i class="ui-icons"></i>Slider News 编辑</h3>
            <div class="box_top ui-icons"></div>
            <div class="box_bg"><div class="box_padding">
            <div class="border_line">

                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tbody>
                            <tr>
                                <td class="tdName">标题</td><td class="tdData">
                                   @Html.EditorFor(model => model.ImgTitle, new { @class = ":required" })
                                </td>
                                <td class="tdName">摘要</td><td class="tdData">
                                   @Html.EditorFor(model => model.Brief, new { @class = ":required" })
                                </td>
                            </tr>
                            <tr>
                                <td class="tdName">图片位置</td><td class="tdData">
                                   @Html.EditorFor(model => model.ImgUrl, new { @class = ":required" })
                                </td>
                                <td class="tdName">链接地址</td><td class="tdData">
                                   @Html.EditorFor(model => model.NewsUrl, new { @class = ":required" })
                                </td>
                            </tr>
                        </tbody>
                    </table>
        
                </div>
            </div>
          </div>
            <div class="box_down ui-icons"></div>
        </div>
                
        <div class="line_top">
            <input class="Button1 ui-icons" title="Save" value="保存" type="submit" />
        </div>
}